<h2>留言板</h2>
<div class="comment">
    {{#each essay}}
    <ul>
        <li>
            <h4>{{title}}</h4>
            <p>内容：{{content}}</p>
        </li>
    </ul>
    {{/each}}
</div>
{{!--
<div class="row words-list">
    <form class="col-md-4 col-xs-12" method="post" action="/add-essay">
        <div class="form-group">
            <label>题目</label><input type="text" class="form-control" name="title" />
        </div>
        <div class="form-group">
            <label>内容</label><textarea rows="20" cols="100" name="content"></textarea>
        </div>
        <input type="submit" class="btn" value="提交" />
    </form>
</div>--}}
<div class="modal model-new" tabindex="-1" role="dialog">
    <div class="modal-dialog" role="document">
        <div class="modal-content row words-list">
            <h3>填写留言</h3>
            <form class="col-md-6 col-xs-12" method="post" action="/add-essay">
                <div class="form-group">
                    <label>题目:</label><input type="text" class="form-control" name="title" />
                    <label>内容:</label><textarea rows="2" cols="50" name="content" class="form-control"></textarea>
                    <input type="submit" class="btn" value="提交" />
                </div>
            </form>
        </div>
    </div>
</div>
<button type="button" class="btn btn-info btn-open" data-toggle="model" data-target=".model-new">留言</button>